import request from '/@/utils/request';

/**
 * 
 * @param params 获取列表
 * @returns 
 */
export const fetchAuthList = (params: any) => {
    return request({ url: '/api/system/permissionRelation/fetchAuthList', params })
}

/**
 * 
 * @param params 授权
 * @returns 
 */
 export const doAuth = (params: any) => {
    return request({ url: '/api/system/permissionRelation/doAuth', data: params, method: 'PUT' })
}